// let ArrData: number[] = [11, 22, 33, 11, 22, 45, 4512564, 45152]
// let DataArr: number[] = []
// ArrData.forEach((item: number, index: number) => {
//     if (!DataArr.includes(item)) {
//         DataArr.push(item)
//     }
// })
// console.log(DataArr);
// let dataArr:number[] = [123,123,45,65,45]
// let dataArr1:number[] =[]
// dataArr.forEach((item,index)=>{
//     if(!dataArr1.includes(item)){
//         dataArr1.push(item)
//     }
// })
// console.log(dataArr1);
//js的数据类型有
// 基本数据类型
// 数值 Number 字符串String 布尔值 Bool
var ArrData = [1, 2, 3, 4, 5, 6, 12, 3, 4, 5, 6];
var DataArr = [];
ArrData.forEach(function (item, index) {
    if (!DataArr.includes(item)) {
        DataArr.push(item);
    }
});
console.log(DataArr);
var arr = [1, 2, 3, 4, 5];
function mypop(arr) {
    arr.length = arr.length - 1;
    return arr;
}
console.log(mypop([1, null, NaN, 2, undefined]));
var pusharr = function () {
    var arr = arguments[0];
    for (var i = 1; i < arguments.length; i++) {
        arr[arr.length] = arguments[i];
    }
    console.log(arr);
    return arr.length;
};
console.log(pusharr([1, 2, 3, 5]));
var arr222 = [['a', 'b'], ['10', '22', '55']];
function twbTop(arr222) {
    var ;
    ();
    var i = 0;
    i < arr222.length;
    i++;
    {
        for (var j = 0, li; .length; j++) {
            arrs.push(arr222[i][j]);
        }
    }
    return arrs;
}
console.log(twbTop);
var arr111 = ['123'];
var boolean1 = [false, true];
var nuber = [1, 2, 3, 4, 5, 6];
var arrw = [{
        name: '胡子瑜',
        age: 18
    }];
var objw = {
    name: "胡子瑜",
    age: 20
};
var funp = function (tsw, rop) {
    return tsw + top;
};
